package com.hbyj.object;

import java.util.Set;

import com.hbyj.hbm.vo.MemberRole;
import com.hbyj.hbm.vo.Members;

public class MemberRoleForFlexiGrid extends MemberForFlexiGrid {
	
	public void  initObjectByHibernateClass(Object hiberObj){
		MemberRole memberRole=(MemberRole)hiberObj;
		this.setId(memberRole.getMemberId());
		this.setMember_name(memberRole.getMembers().getName());
		this.setMember_department(memberRole.getMembers().getDepartments().getName());
		this.setMember_role(memberRole.getRoles().getName());
		this.setMember_remark(memberRole.getMembers().getRemarks());
	}
}
